package com.zjjxy.service.impl;

import com.zjjxy.pojo.dto.StudentAnswerDTO;
import com.zjjxy.pojo.entity.Question;
import com.zjjxy.pojo.entity.StudentAnswer;

import java.util.List;

public interface TeacherService {

    void add(Question question);

    List<StudentAnswer> getScore();

    List<Question> ranDow();

    void post(StudentAnswerDTO studentAnswerDTO);

    void publish(Integer id);

    void stop(Integer id);
}
